package com.yzjs.base;


import com.yzjs.enumeration.BestPayTypeEnum;

public class PayRequest {
    private BestPayTypeEnum payTypeEnum;
    private String orderId;
    private Double orderAmount;
    private String orderName;
    private String openid;
    private String spbillCreateIp;
    private String attach;

    public PayRequest() {
    }

    public BestPayTypeEnum getPayTypeEnum() {
        return this.payTypeEnum;
    }

    public String getOrderId() {
        return this.orderId;
    }

    public Double getOrderAmount() {
        return this.orderAmount;
    }

    public String getOrderName() {
        return this.orderName;
    }

    public String getOpenid() {
        return this.openid;
    }

    public String getSpbillCreateIp() {
        return this.spbillCreateIp;
    }

    public String getAttach() {
        return this.attach;
    }

    public void setPayTypeEnum(BestPayTypeEnum payTypeEnum) {
        this.payTypeEnum = payTypeEnum;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public void setOrderAmount(Double orderAmount) {
        this.orderAmount = orderAmount;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public void setSpbillCreateIp(String spbillCreateIp) {
        this.spbillCreateIp = spbillCreateIp;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof PayRequest)) {
            return false;
        } else {
            PayRequest other = (PayRequest)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label95: {
                    Object this$payTypeEnum = this.getPayTypeEnum();
                    Object other$payTypeEnum = other.getPayTypeEnum();
                    if (this$payTypeEnum == null) {
                        if (other$payTypeEnum == null) {
                            break label95;
                        }
                    } else if (this$payTypeEnum.equals(other$payTypeEnum)) {
                        break label95;
                    }

                    return false;
                }

                Object this$orderId = this.getOrderId();
                Object other$orderId = other.getOrderId();
                if (this$orderId == null) {
                    if (other$orderId != null) {
                        return false;
                    }
                } else if (!this$orderId.equals(other$orderId)) {
                    return false;
                }

                Object this$orderAmount = this.getOrderAmount();
                Object other$orderAmount = other.getOrderAmount();
                if (this$orderAmount == null) {
                    if (other$orderAmount != null) {
                        return false;
                    }
                } else if (!this$orderAmount.equals(other$orderAmount)) {
                    return false;
                }

                label74: {
                    Object this$orderName = this.getOrderName();
                    Object other$orderName = other.getOrderName();
                    if (this$orderName == null) {
                        if (other$orderName == null) {
                            break label74;
                        }
                    } else if (this$orderName.equals(other$orderName)) {
                        break label74;
                    }

                    return false;
                }

                label67: {
                    Object this$openid = this.getOpenid();
                    Object other$openid = other.getOpenid();
                    if (this$openid == null) {
                        if (other$openid == null) {
                            break label67;
                        }
                    } else if (this$openid.equals(other$openid)) {
                        break label67;
                    }

                    return false;
                }

                Object this$spbillCreateIp = this.getSpbillCreateIp();
                Object other$spbillCreateIp = other.getSpbillCreateIp();
                if (this$spbillCreateIp == null) {
                    if (other$spbillCreateIp != null) {
                        return false;
                    }
                } else if (!this$spbillCreateIp.equals(other$spbillCreateIp)) {
                    return false;
                }

                Object this$attach = this.getAttach();
                Object other$attach = other.getAttach();
                if (this$attach == null) {
                    if (other$attach != null) {
                        return false;
                    }
                } else if (!this$attach.equals(other$attach)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof PayRequest;
    }


    public String toString() {
        return "PayRequest(payTypeEnum=" + this.getPayTypeEnum() + ", orderId=" + this.getOrderId() + ", orderAmount=" + this.getOrderAmount() + ", orderName=" + this.getOrderName() + ", openid=" + this.getOpenid() + ", spbillCreateIp=" + this.getSpbillCreateIp() + ", attach=" + this.getAttach() + ")";
    }
}
